# OPTION_JOBS = --parallel=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
# endif
-# don't set PYBUILD_NAME
-# export PYBUILD_NAME = pyside6
+# don't set PYBUILD_NAME because we want the installed files to land in
+# debian/tmp and then get split up into the feature packages.
export PYBUILD_SYSTEM = cmake
-export PYBUILD_DESTDIR = debian/tmp
-export DESTDIR = debian/tmp
export PYBUILD_BUILD_ARGS = -j1
export MAIN_VERSION_UPSTREAM := $(shell echo $(DEB_VERSION_UPSTREAM))
# Work around buildd bug (https://bugs.debian.org/842565)
undefine XDG_RUNTIME_DIR
-# _BUILDDIR = $(shell PYBUILD_NAME=$(PYBUILD_NAME) pybuild -p `py3versions -dv` --print {build_dir})
_BUILDDIR = $(shell pybuild -p `py3versions -dv` --print {build_dir})
export PYTHONPATH = $(_BUILDDIR)/sources